<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap-test</title>
    <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css">
    <!-- 解决IE9以下浏览器的兼容性问题 -->
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    
    <style>
        .row div {
            height:40px;
            border:1px solid #000;
            background-color: skyblue;
        }
        p {
            background-color: pink;
        }
    </style>
    
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-lg-3 col-md-6">1</div>
            <div class="col-lg-3 col-md-6">2</div>
            <div class="col-lg-3 col-md-6">3</div>
            <div class="col-lg-3 col-md-6">4</div>
        </div>
        <div class="row">
            <div class="col-lg-6">1</div>
            <div class="col-lg-2">2</div>
            <div class="col-lg-2">3</div>
            <div class="col-lg-1">4</div>
        </div>
        <!-- 列嵌套 -->
        <div class="row">
            <div class="col-lg-4">
                <p class="col-lg-6">1</p>
                <p class="col-lg-6">2</p>
            </div>
            <div class="col-lg-4">2</div>
            <div class="col-lg-4">3</div>
        </div>
        <!-- 列偏移 -->
        <div class="row">
            <div class="col-lg-4">left</div>
            <div class="col-lg-4 col-lg-offset-4">right</div>
            <div class="col-lg-8 col-lg-offset-2">abc</div>
        </div>
        <!-- 列排序 -->
        <div class="row">
            <div class="col-lg-4 col-lg-push-8">left</div>
            <div class="col-lg-8 col-lg-pull-4">right</div>
        </div>
    </div>
</body>
</html>